package cn.fx.framework.utils;

/**
 * 四元组,用来持有四种类型的对象
 * @author Junhai, Liu
 *
 * @param <A>
 * @param <B>
 * @param <C>
 * @param <D>
 */
public class FourTuple<A, B, C, D> extends ThreeTuple<A, B, C> {

	public final D fourth;
	
	public FourTuple(A first, B second, C third, D fourth){
		super(first, second, third);
		this.fourth = fourth;
	}
	
	public String toString(){
		return "("+this.first+","+this.second+","+this.third+","+this.fourth+")";
	}
}
